<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="../../css/mui.min.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/pages/home/callCenter.css"/>
		<title></title>
		<style type="text/css">
			.p-15 img{
				max-width: 100% !important;
			}
		</style>
	</head>
	<body style="background-color: #FFFFFF;">
		<div id="call">
			<div class="p-15"><div v-html="aboDetails"></div></div>
		</div>
		
		<script src="../../js/Width.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/Util.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script src="https://cdn.bootcss.com/fastclick/1.0.6/fastclick.min.js"></script>
		<script type="text/javascript">
			mui.init()
			mui.plusReady(function(){
				if (!mui.os.android) {
					FastClick.attach(document.body);
				}
				var self = plus.webview.currentWebview();
				var type = self.type == 2? 2: 1
				getAbout(type)
				self.setStyle({
					titleNView: {
						titleText: self.type == 2 ? "小区介绍" : "企业简介",
						backgroundColor: "#FFFFFF",
						autoBackButton: true,
						splitLine:{
							color:'#EEEEEE',
							height:'1px'
						}
					}
				})
			})
			
			var call = new Vue({
				el: '#call',
				data:{
					aboDetails:''
				},
				methods: {
					
				}
			})
			
			function getAbout (type) {
				mui.post(Util.HTTP + 'api/Home/GetAbout',{
					neiID: type == 2? Util.getState('hosing').neiID : '',
					aboType: type
				},function(res){
					if(res.code==1001){
						call.aboDetails = res.data.aboDetails
					}else{
						mui.toast(res.message)
					}
				})
			}
		</script>
	</body>
</html>
